home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 26 / Mac Magazin and MacEasy Magazine CD - Issue 26.iso / Wissenschaft & Technik / TimGA 1.1 ƒ / Graphs / (1) Small graphs / 06 - Hypercube 4D < prev    next >
Text File  |  1995-08-02  |  349b  |  47 lines

  1.  
  2. |V|:    16        // Number of nodes
  3. |E|:    32        // Number of edges
  4.  
  5.     1    2        // Edges are represented as pairs of node numbers...
  6.     2    3
  7.     3    4
  8.     4    1
  9.     
  10.     5    6
  11.     6    7
  12.     7    8
  13.     8    5
  14.     
  15.     1    5
  16.     2    6
  17.     3    7
  18.     4    8
  19.     
  20.     9    10
  21.     10    11
  22.     11    12
  23.     12    9
  24.     
  25.     13    14
  26.     14    15
  27.     15    16
  28.     16    13
  29.     
  30.     9    13
  31.     10    14
  32.     11    15
  33.     12    16
  34.     
  35.     1    9
  36.     2    10
  37.     3    11
  38.     4    12
  39.     
  40.     5    13
  41.     6    14
  42.     7    15
  43.     8    16
  44.  
  45. ---
  46. This graph is a hypercube 4D.
  47.